


<div class="container">




    <!--<div class="container">
        <div class="breadcrumb_wrap">
            <ul class="breadcrumb">
                <li>您的位置：</li>
                <li> <a href="old_product_list.html">旧物管理</a> <span class="divider">></span> </li>
                <li class="active">修改</li>
            </ul>
        </div>
        <div class="product_con">
            <div class="title">
                <h3>旧物信息</h3>
            </div>
            <div class="select_box " >
                <form class="form-horizontal" role="form">
                    <div class="form-group col-md-4">
                        <label class="control-label">旧物名：</label>
                        <input type="text" class="form-control" ng-model="old.title">
                    </div>
                    <div class="form-group col-md-4">
                        <label class="control-label">含金量：</label>
                        <select class="form-control" ng-model="old.type">
                            <option value="" disabled selected>&#45;&#45;请选择&#45;&#45;</option>
                            <option ng-repeat="type in typeList" value="{{type.id}}">{{type.typeName}}</option>
                        </select>
                    </div>

                    <div class="form-group col-md-4">
                        <label class="control-label">重量/g：</label>
                        <input type="text" class="form-control" ng-model="old.perWeight">
                    </div>
                    <div class="form-group col-sm-12">
                        <label class="control-label">旧物描述：</label>
                        <textarea class="form-control" rows="3" ng-model="old.des"></textarea>
                    </div>
                </form>
            </div>
        </div>
        <div class="product_con">
            <div class="title">
                <h3>旧物图片</h3>
            </div>
            <div class="select_box pic_box" >
                <form class="form-horizontal" role="form">
                    <div class="form-group col-sm-12">
                        <label class="control-label"></label>
                        <ul class="upload-ul clearfix">
                            <li class="diyUploadHover">
                                <div class="viewThumb" >
                                    <img ng-if="!old.ifPic" class="" ng-src="/app/images/goodsDefault.gif">
                                    <img ng-if="old.ifPic" ng-src="/dapi/download/getImageIO?imgUrl={{old.iconUrl}}">
                                </div>
                            </li>
                        </ul>
                        <button ng-if="old.ifPic" type="button" class="close" ng-click="deleteIconUrl(old.id)"><i class="glyphicon glyphicon-remove-circle"></i></button>
                        <div class="container-fuild kv-main">
                            <form enctype="multipart/form-data">
                                <div>
                                    <input id="file-1" type="file" multiple class="file" data-overwrite-initial="false" data-min-file-count="1" data-max-file-count="1">
                                </div>
                            </form>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <div class="button_box table_btn_box editor_btn_box ">
            <button type="button" class="btn btn-primary btn_add" ng-click="submitOld()"><i class="glyphicon glyphicon-ok"></i>提交</button>
            <a href="/jewellery/common/myOldList"><button type="button" class="btn btn-primary back"><i class="glyphicon glyphicon-chevron-left"></i>返回</button></a>
        </div>
    </div>-->







    <div class="bread">
        <span>您当前的位置：</span>
        <a href="">首页</a> >
        <a href="">旧物管理</a> >
        <a href="">修改</a>
    </div>
    <div class="goods">
        <div class="goods-add">
            <div class="item">
                <label class="label">旧物名：</label>
                <input type="text" class="text"  ng-model="old.title">
            </div>
            <div class="item item1">
                <label class="label">含金量：</label>
                <select class="form-control" ng-model="old.type">
                    <option value="" disabled selected>&#45;&#45;请选择&#45;&#45;</option>
                    <option ng-repeat="type in typeList" value="{{type.id}}">{{type.typeName}}</option>
                </select>
            </div>
            <div class="item">
                <label class="label">重量/g：</label>
                <input type="text" class="text"  ng-model="old.perWeight">
            </div>
            <div class="item item2">
                <label class="label">旧物描述：</label>
                <textarea class="textarea" ng-model="old.des"></textarea>
            </div>
            <div class="clear"></div>
            <div class="select_box pic_box" >
                <label class="control-label"></label>
                <ul class="upload-ul clearfix">
                    <li class="diyUploadHover">
                        <div class="viewThumb" >
                            <img ng-if="!old.ifPic" class="" ng-src="/app/images/goodsDefault.gif">
                            <img ng-if="old.ifPic" ng-src="/dapi/download/getImageIO?imgUrl={{old.iconUrl}}" width="500" height="500">
                            <button ng-if="old.ifPic" type="button" class="close" ng-click="deleteIconUrl(old.id)"><i class="glyphicon glyphicon-remove-circle"></i></button>
                        </div>
                    </li>
                </ul>

                <div class="container-fuild kv-main" style=" width:500px;">
                    <br>
                    <form enctype="multipart/form-data">
                        <div class="form-group">
                            <input id="file-1" type="file" multiple class="file" data-overwrite-initial="false" data-min-file-count="1" data-max-file-count="1">
                        </div>
                    </form>
                </div>
            </div>
            <div class="btndiv">
                <input type="button" value="提 交" ng-click="submitOld()" class="btn">
                <a href="/jewellery/common/myOldList"><input type="button" value="返 回" class="btn"></a>
            </div>
        </div>
    </div>
</div>